home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene Storm
/
Scene Storm - Volume 1.iso
/
coding
/
c
/
vbcc
/
errors.h
< prev
next >
Wrap
Text File
|
1995-11-23
|
9KB
|
163 lines
"declaration expected",ERROR|ANSIV|FATAL, /* 0 */
"only one input file allowed",MESSAGE|FATAL, /* 1 */
"Flag <%s> specified more than once",MESSAGE, /* 2 */
"Flag <%s> needs string",MESSAGE|FATAL, /* 3 */
"Flag <%s> needs value",MESSAGE|FATAL, /* 4 */
"Unknown Flag <%s>",MESSAGE|FATAL, /* 5 */
"No input file",MESSAGE|FATAL, /* 6 */
"Could not open <%s> for input",MESSAGE|FATAL, /* 7 */
"need a struct or union to get a member",ERROR|ANSIV,
"too many (%d) nested blocks",ERROR|FATAL,
"left block 0",ERROR|ANSIV, /* 10 */
"uncomplete struct <%s>",ERROR|ANSIV,
"out of memory",ERROR|FATAL,
"redeclaration of struct <%s>",ERROR|ANSIV,
"uncomplete type (%s) in struct",ERROR|ANSIV,
"function (%s) in struct/union",ERROR|ANSIV, /* 15 */
"redeclaration of struct/union member <%s>",ERROR|ANSIV,
"redeclaration of <%s>",ERROR|ANSIV,
"invalid constant expression",ERROR|ANSIV,
"array dimension must be constant integer",ERROR|ANSIV,
"no declarator and no identifier in prototype",ERROR|ANSIV, /* 20 */
"invalid storage-class in prototype",ERROR|ANSIV,
"void not the only function argument",ERROR|ANSIV,
"<%s> no member of struct/union",ERROR|ANSIV,
"increment/decrement is only allowed for aithmetic and pointer types",ERROR|ANSIV,
"functions may not return arrays or functions",ERROR|ANSIV, /* 25 */
"only pointers to functions can be called",ERROR|ANSIV,
"redefinition of var <%s>",ERROR|ANSIV,
"redeclaration of var <%s> with new storage-class",ERROR|ANSIV,
"first operand of conditional-expression must be arithmetic or pointer type",ERROR|ANSIV,
"multiple definitions of var <%s>",ERROR|ANSIV, /* 30 */
"operands of : do not match",ERROR|ANSIV,
"function definition in inner block",ERROR|ANSIV,
"redefinition of function <%s>",ERROR|ANSIV,
"invalid storage-class for function",ERROR|ANSIV,
"declaration-specifiers expected",ERROR|ANSIV, /* 35 */
"declarator expected",ERROR|ANSIV,
"<%s> is no parameter",ERROR|ANSIV,
"assignment of different structs/unions",ERROR|ANSIV,
"invalid types for assignment",ERROR|ANSIV,
"only 0 can be compared against pointer",WARNING|ANSIV, /* 40 */
"pointers do not point to the same type",WARNING|ANSIV,
"function initialized",ERROR|ANSIV,
"initialization of uncomplete struct",ERROR|ANSIV,
"initialization of uncomplete union",ERROR|ANSIV,
"empty initialization",ERROR|ANSIV, /* 45 */
"initializer not a constant",ERROR|ANSIV,
"double type-specifier",WARNING|ANSIV,
"illegal type-specifier",WARNING|ANSIV,
"multiple storage-classes",WARNING|ANSIV,
"storage-class specifier should be first",WARNING|ANSIV, /* 50 */
"bitfields must be ints",WARNING|ANSIV,
"bitfield width must be constant integer",WARNING|ANSIV,
"struct/union member needs identifier",WARNING|ANSIV,
"; expected",WARNING|ANSIV,
"struct/union has no members",WARNING|ANSIV, /* 55 */
"} expected",WARNING|ANSIV,
", expected",WARNING|ANSIV,
"invalid unsigned",WARNING|ANSIV,
") expected",WARNING|ANSIV,
"array dimension has sidefx (will be ignored)",WARNING|ANSIV, /* 60 */
"array of size 0 (set to 1)",WARNING|ANSIV,
"] expected",WARNING|ANSIV,
"mixed identifier- and parameter-type-list",WARNING|ANSIV,
"var <%s> was never assigned a value",WARNING,
"var <%s> was never used",WARNING, /* 65 */
"invalid storage-class",WARNING|ANSIV,
"type defaults to int",WARNING,
"redeclaration of var <%s> with new type",WARNING|ANSIV,
"redeclaration of parameter <%s>",WARNING|ANSIV,
": expected",WARNING|ANSIV, /* 70 */
"illegal escape-sequence in string",WARNING|ANSIV,
"character constant contains multiple chars",WARNING,
"could not evaluate sizeof-expression",ERROR|ANSIV,
"\" expected (unterminated string)",ERROR|ANSIV,
"something wrong with numeric constant",ERROR|ANSIV, /* 75 */
"identifier expected",ERROR|ANSIV|FATAL,
"definition does not match previous declaration",WARNING|ANSIV,
"integer added to illegal pointer",WARNING|ANSIV,
"offset equals size of object",WARNING,
"offset out of object",WARNING|ANSIV, /* 80 */
"only 0 should be cast to pointer",WARNING,
"unknown identifier <%s>",ERROR|ANSIV,
"too few function arguments",WARNING|ANSIV,
"division by zero (result set to 0)",WARNING|ANSIV,
"assignment of different pointers",WARNING|ANSIV, /* 85 */
"lvalue required for assignment",ERROR|ANSIV,
"assignment to constant type",ERROR|ANSIV,
"assignment to uncomplete type",ERROR|ANSIV,
"operands for || and && have to be arithmetic or pointer",ERROR|ANSIV,
"bitwise operations need integer operands",ERROR|ANSIV, /* 90 */
"assignment discards const",WARNING|ANSIV,
"relational expression needs arithmetic or pointer type",ERROR|ANSIV,
"need arithmetic type to test against pointer",ERROR|ANSIV,
"operand needs arithmetic type",ERROR|ANSIV,
"pointer arithmetic with void * is not possible",ERROR|ANSIV, /* 95 */
"pointers can only be subtracted",ERROR|ANSIV,
"invalid types for operation <%s>",ERROR|ANSIV,
"invalid operand type",ERROR|ANSIV,
"integer-pointer is not allowed",ERROR|ANSIV,
"assignment discards volatile",WARNING|ANSIV, /* 100 */
"<<, >> and % need integer operands",ERROR|ANSIV,
"casting from void is not allowed",ERROR|ANSIV,
"integer too large to fit into pointer",ERROR|ANSIV,
"only integers can be cast to pointers",ERROR|ANSIV,
"invalid cast",ERROR|ANSIV, /* 105 */
"pointer too large to fit into integer",ERROR|ANSIV,
"unary operator needs arithmetic type",ERROR|ANSIV,
"negation type must be arithmetic or pointer",ERROR|ANSIV,
"complement operator needs integer type",ERROR|ANSIV,
"pointer assignment with different qualifiers",WARNING|ANSIV, /* 110 */
"dereferenced object is no pointer",ERROR|ANSIV,
"dereferenced object is uncomplete",ERROR|ANSIV,
"only 0 should be assigned to pointer",WARNING|ANSIV,
"typedef <%s> is initialized",WARNING|ANSIV,
"lvalue required to take address",ERROR|ANSIV, /* 115 */
"unknown var <%s>",ERROR|ANSIV,
"address of register variables not available",ERROR|ANSIV,
"var <%s> initialized after \'extern\'",WARNING|ANSIV,
"const var <%s> not initialized",WARNING,
"function definition after \'extern\'",WARNING|ANSIV, /* 120 */
"return type of main is not int",WARNING|ANSIV,
"invalid storage-class for function parameter",WARNING|ANSIV,
"formal parameters conflict with parameter-type-list",WARNING|ANSIV,
"parameter type defaults to int",WARNING,
"no declaration-specifier, used int",WARNING|ANSIV, /* 125 */
"no declarator in prototype",WARNING|ANSIV,
"static var <%s> never defined",WARNING,
"} expected",WARNING,
"left operand of comma operator has no side-effects",WARNING,
"label empty",ERROR|ANSIV, /* 130 */
"redefinition of label <%s>",ERROR|ANSIV,
"case without switch",ERROR|ANSIV,
"case-expression must be constant",ERROR|ANSIV,
"case-expression must be integer",ERROR|ANSIV,
"empty if-expression",ERROR|ANSIV, /* 135 */
"if-expression must be arithmetic or pointer",ERROR|ANSIV,
"empty switch-expression",ERROR|ANSIV,
"switch-expression must be integer",ERROR|ANSIV,
"multiple default labels",ERROR|ANSIV,
"while-expression must be arithmetic or pointer",ERROR|ANSIV, /* 140 */
"empty while-expression",ERROR|ANSIV,
"for-expression must be arithmetic or pointer",ERROR|ANSIV,
"do-while--expression must be arithmetic or pointer",ERROR|ANSIV,
"goto without label",ERROR|ANSIV,
"continue not within loop",ERROR|ANSIV, /* 145 */
"break not in matching construct",ERROR|ANSIV,
"label <%s> was never defined",ERROR|ANSIV,
"label <%s> was never used",WARNING,
"register %s not ok",WARNING,
"default not in switch",WARNING|ANSIV, /* 150 */
"( expected",WARNING|ANSIV,
"loop eliminated",WARNING,
"statement has no effect",WARNING,
"\'while\' expected",WARNING|ANSIV,
"function should not return a value",WARNING|ANSIV, /* 155 */
"function should return a value",WARNING|ANSIV,
"{ expected",WARNING|ANSIV,
"internal error %d in line %d of file %s !!",ERROR|INTERNAL|FATAL,
"there is no message number %d",MESSAGE|FATAL,
"message number %d cannot be suppressed",MESSAGE|FATAL, /* 160 */